package com.uzai.console.service.wechatprivate;

import com.uzai.console.dto.wechatprivate.wxcontacts.AddBatchSendMessageTaskDto;
import com.uzai.console.dto.wechatprivate.wxcontacts.NewBatchSendMessageTaskDto;
import com.uzai.console.entity.GroupSendJob;
import org.springframework.scheduling.annotation.Async;

/**
 * @author liuqi
 * @date 2021年08月13日 11:33
 */
public interface WxContactsSyncService {

    /**
     * 查询结果添加群发任务
     * @author liuqi
     * @date 2021/8/25 11:38
     * @param addBatchSendMessageTaskDto
     * @return null
     */
    void sendMessageToUserSelectedSync(AddBatchSendMessageTaskDto addBatchSendMessageTaskDto);

    /**
     * 新建群发消息(异步)
     * @author liuqi
     * @date 2021/8/25 11:38
     * @param newBatchSendMessageTaskDto
     * @return null
     */
    void  newBatchSendMessageTaskSync(NewBatchSendMessageTaskDto newBatchSendMessageTaskDto, Long groupSendJobParentId, String loginName);

}
